<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>nfs-utils</Name>
        <Homepage>https://nfs.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <IsA>app:console</IsA>
        <Summary>NFS client and server</Summary>
        <Description>Contains NFS (Network File System) client and server. It is possible to mount a network resource as a file system using the NFS protocol.</Description>
        <Archive sha1sum="872d80381099c42ea9e2a6728297cbfd97802af2" type="tarbz2">https://sourceforge.net/projects/nfs/files/nfs-utils/2.6.2/nfs-utils-2.6.2.tar.bz2/download</Archive>
        <BuildDependencies>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>libtirpc-devel</Dependency>
            <Dependency>libevent-devel</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
            <Dependency>libgssglue-devel</Dependency>
            <Dependency>mit-kerberos-devel</Dependency>
            <Dependency>rpcsvc-proto-devel</Dependency>
            <Dependency>tcp-wrappers-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">nfs-utils-1.2.1-statdpath-man.patch</Patch> -->
<!--             <Patch level="1">nfs-utils-1.2.1-exp-subtree-warn-off.patch</Patch> -->
<!--             <Patch level></Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>nfs-utils</Name>
        <RuntimeDependencies>
            <Dependency>libcap</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>rpcbind</Dependency>
            <Dependency>nfsidmap</Dependency>
            <Dependency>keyutils</Dependency>
            <Dependency>libevent</Dependency>
            <Dependency>libtirpc</Dependency>
            <Dependency>e2fsprogs</Dependency>
            <Dependency>libgssglue</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>tcp-wrappers</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>libutil-linux</Dependency>
            <Dependency>openldap-client</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/exports</Path>
            <Path fileType="config">/etc/modprobe.d/50-nfs.conf</Path>
            <Path fileType="config">/etc/gssapi_mech.conf</Path>
            <Path fileType="config">/etc/nfsmount.conf</Path>
            <Path fileType="config">/etc/conf.d/nfs</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/libexec/nfsrahead</Path>
            <Path fileType="library">/var/lib</Path>
            <Path fileType="library">/lib/udev/rules.d</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/exports">exports</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/nfs">nfs.confd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/idmapd.conf">idmapd.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/gssapi_mech.conf">gssapi_mech.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="nfs-common.py" name="nfs_common">System.Service</COMAR>
            <COMAR script="nfs-server.py" name="nfs_server">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>nfsidmap</Name>
        <Summary>Library to help mapping IDs, mainly for NFSv4</Summary>
        <RuntimeDependencies>
            <Dependency>openldap-client</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/idmapd.conf</Path>
            <Path fileType="library">/usr/lib/libnfsidmap*</Path>
            <Path fileType="doc">/usr/share/doc/libnfsidmap</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2022-11-05</Date>
            <Version>2.6.2</Version>
            <Comment>New Version</Comment>
            <Name>Ümit Solmaz</Name>
            <Email>us@mynetiz.com</Email>
        </Update>
        <Update release="1">
            <Date>2022-03-11</Date>
            <Version>2.6.1</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
